/**
 * Login数据的模拟
 */
export function login() {
	const loginData = {
		'code': 200,
		'msg': null,
		'data': {
			'id': 1,
			'username': 'd4peng',
			'token': '77ae89be36504adfb5c09ef71409ea0e',
			'expireTime': '2018-09-01T16:24:50.473+0000',
			'avatar': 'https://cube.elemecdn.com/0/88/03b0d39583f48206768a7534e55bcpng.png',
			'createBy': null,
			'createTime': null,
			'lastUpdateBy': null,
			'lastUpdateTime': '2018-09-01T04:24:50.473+0000'
		}
	}
	return {
		url: '/login',
		type: 'post',
		data: loginData
	}
}
